/* Ok, so, as of now the commenting is _way_ overboard :)
 * But, I just wanted to get some ideas down, hopefully they'll be good
 * ones.
 */
#include <iostream>
#include <string>
#include <vector>
#include <sqlite3.h>
#include <libsqlitewrapped.h>
#include <cstdlib>
#include "Event.h"
#include "Todo.h"
using namespace std;

int main() {
	Database db( "arrowtask.db" );
	if (!db.Connected()) {
		printf("Database not connected - exiting\n");
		exit(-1);
	}
	
	vector<Event*> allevents = Event::get_all_events(&db);
	cout << allevents[0]->name << endl;
}
